Created and Compiled using THINK C 7.x (without Universal Headers).
I encountered errors trying to compile with Universal Headers, which I couldn't work out. I think the problems are all related to my own troubles updating the proper files to work with the new headers. Hopefully, you should be able to compile with the new headers without too much trouble, despite my problems doing so.
This archive may be distributed freely. Source code may also be extracted and used freely. Thanks to James Walker for permission to distribute a modified version of his "Show_help" code.
Changes from 1.0:
Corrected assignment of var windowID in HandleKeyDown routine; made it a long.
Added Toggle_S_H_Buttons() routine to dim buttons/remove default outline
or undim/re-add same on activation/deactivation of Show_help window.
Added appropriate calls in the routine: Handle_ShowHelp
Added #define KOutlinePICT 8
This source code demonstrates a number of things, but mainly I wanted to give others some example code to do the following things:
Handle multiple windows/dialogs.
Handle the Edit menu, especially Undo, and using the scrap.
Handle multiple edit text items in multiple dialogs.
Create a modeless version of Show_help,
a program in the public domain from James Walker.
Provide some useful routines to use along these lines.
(Like Option-clicking in a goAway closes all open application windows.)
If this benefits you, I hope you are encouraged to give something back to the public domain as you find the opportunity. I'm very thankful for all the help I've received learning the maze of the Mac toolbox. Good luck!